/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class RepairStateEnum extends StringEnum
{
    public static final String POTENTIAL_VALUE = "1";
    public static final String FORMAL_VALUE = "2";

    public static final RepairStateEnum potential = new RepairStateEnum("potential", POTENTIAL_VALUE);
    public static final RepairStateEnum formal = new RepairStateEnum("formal", FORMAL_VALUE);

    /**
     * construct function
     * @param String repairStateEnum
     */
    private RepairStateEnum(String name, String repairStateEnum)
    {
        super(name, repairStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static RepairStateEnum getEnum(String repairStateEnum)
    {
        return (RepairStateEnum)getEnum(RepairStateEnum.class, repairStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(RepairStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(RepairStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(RepairStateEnum.class);
    }
}